package com.naizhuai.Model.db.eneity;

import android.arch.persistence.room.ColumnInfo;
import android.arch.persistence.room.Entity;
import android.arch.persistence.room.Ignore;
import android.support.annotation.NonNull;

import com.naizhuai.Model.db.Tables;
import com.naizhuai.util.ConstantsState;

import java.io.Serializable;

/**
 * 公司的管理请求
 * Created by code_han on 2018/6/28.
 */
@Entity(tableName = Tables.MANAGE_NOTE,
        primaryKeys = {"applyId"})
public class ManageNoteBean implements Serializable {

    @NonNull
    @ColumnInfo(name = "applyId")
    private String applyId;

    @ColumnInfo(name = "status")
    private int status;

    public ManageNoteBean() {
    }

    @Ignore
    public ManageNoteBean(@NonNull String applyId, int status) {
        this.applyId = applyId;
        this.status = status;
    }
    @Ignore
    public ManageNoteBean(@NonNull String applyId) {
        this.applyId = applyId;
        this.status = ConstantsState.STATE_NO_SEE;
    }

    @NonNull
    public String getApplyId() {
        return applyId;
    }

    public void setApplyId(@NonNull String applyId) {
        this.applyId = applyId;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }
}
